#!/bin/bash
j_script_dir=`dirname $0`
j_jenny_root_dir=`(cd $j_script_dir/..; pwd)`

. $j_jenny_root_dir/common/function

# upgrade the jenny config for current project
usage() {
	echo "jenny update"
	echo "    update jenny to latest"
	exit 1
}

if [ "$1" = "-h" ]; then 
	usage
fi

cd $j_script_dir
git pull || die "Failed to call git pull."
./update

